import urllib.request

# 下载视频
url_video = 'https://pan.baidu.com/mbox/streampage?type=1&to_ciduk=&from_ciduk=&to=765069165&from_uk=1702082001&msg_id=5726921954655007550&fs_id=6968594538598&path=%2F%E3%80%9000%E3%80%912023FB%E8%81%94%E8%80%83%E7%9C%81%E8%80%83980%E7%B3%BB%E7%BB%9F%E7%8F%AD%2F01%20%E6%96%B9%E6%B3%95%E7%B2%BE%E8%AE%B2%2F2022.07.12%20%E8%81%94%E8%80%83%E6%96%B9%E6%B3%95%E7%B2%BE%E8%AE%B2-%E8%A8%80%E8%AF%AD3%20%E6%AC%A7%E9%98%B3%E3%80%90%E5%85%AC%E4%BC%97%E5%8F%B7%EF%BC%9A%E5%B0%8F%E7%AC%A6%E7%9A%84%E5%8F%A8%E5%8F%A8%E3%80%91%E5%85%8D%E8%B4%B9%E5%88%86%E4%BA%AB.mp4&name=2022.07.12%20%E8%81%94%E8%80%83%E6%96%B9%E6%B3%95%E7%B2%BE%E8%AE%B2-%E8%A8%80%E8%AF%AD3%20%E6%AC%A7%E9%98%B3%E3%80%90%E5%85%AC%E4%BC%97%E5%8F%B7%EF%BC%9A%E5%B0%8F%E7%AC%A6%E7%9A%84%E5%8F%A8%E5%8F%A8%E3%80%91%E5%85%8D%E8%B4%B9%E5%88%86%E4%BA%AB.mp4&'
# #
# # # url代表的是下载的路径  filename文件的名字
# # # 在python中 可以变量的名字  也可以直接写值
urllib.request.urlretrieve(url_video, 'lzf23.mp4')
